//------------------------------------------------------------------------------------
// Base_8051
//------------------------------------------------------------------------------------
//
// AUTH: FJ
// DATE: 03-03-2009
// Target: C8051F02x
//
// Tool chain: KEIL Eval 'c'
//
//-------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------------
#include <c8051f020.h>                    // SFR declarations
#include <intrins.h>  
#include <TP_8051_Lib.h> 
#include <Ports_Declarations_TP_Emb.h>  
#include <Asm_8051_Lib.h> 
#include <LIB_TP_Emb_Systeme_de_Tri_Gestion_IOs.h>
#include <LIB_TP_Emb_Systeme_de_Tri_Gestion_INT1.h>
#include <LIB_TP_Emb_Systeme_de_Tri_Gestion_Timer2.h>
#include <LIB_TP_Emb_Systeme_de_Tri_Gestion_UART0.h>
#include <LIB_TP_Emb_Systeme_de_Tri_Gestion_Watchdog.h>
#include <LIB_TP_Emb_Systeme_de_Tri_Gestion_ADC0.h>
//------------------------------------------------------------------------------------
// Global CONSTANTS
//------------------------------------------------------------------------------------


//------------------------------------------------------------------------------------
// MAIN Routine
//------------------------------------------------------------------------------------
void main (void) {



   Init_Device();
   Init_P2_P3();


   while (1)
   { 
   		Pulse_P20();
   }
}

